<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
.roller {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  scroll-snap-type: y mandatory;
}
.roller li {
  width: 100%;
  height: 40px;
  display: flex;
  font-weight: 700;
  color: #333;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family:Helvetica;
  font-size: 15px;
}
.roller-wrapper {
  position: relative;
  width: 300px;
  height: 200px;
  background-image:linear-gradient(to bottom,rgba(0,0,0,.3) 0%,rgba(0,0,0,0) 25%,rgba(0,0,0,0) 75%,rgba(0,0,0,.3) 100%);
  box-shadow: inset 0px 0px 12px rgba(0,0,0, .2);
  border-radius: 12px;
}
.roller-wrapper::after {
  content:'';
  position: absolute;
  top: 80px;
  width: 100%;
  height: 40px;
  background-image: linear-gradient(to bottom,rgba(0,0,0, .1) 0%,rgba(0,0,0, .2) 50%,rgba(0,0,0,.25) 50%,rgba(0,0,0, .1) 100%);
  box-shadow: 0px 4px 12px rgba(0,0,0, .12);
  border-top:1px solid rgba(0,0,0, .12);
  -webkit-pointer-event: none;  /* 防止遮挡住滚动 */
  pointer-event: none;
}

  </style>
</head>
<body>
  <div class="roller-wrapper">
    <ul class="roller">
     <li>华为Mate10Pro</li>
     <li>华为P10</li>
     <li>华为P10plus</li>
     <li>华为Nova2</li>
     <li>华为Nova 2 Plus</li>
     <li>华为 HUAWEI P9/P9 Plus手机</li>
     <li>华为HUAWEI GX1手机</li>
     <li>华为 HUAWEI G6手机</li>
     <li>华为 HUAWEI G606 智能手机</li>
     <li>华为 HUAWEIAscend P7手机</li>
     <li>华为 HUAWEI Ascend P6 3G手机</li>
     <li>华为 HUAWEI G520S 3G智能手机</li>
   </ul>
 </div>
 
</body>
</html>